package edu.chen.exception.login;


import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * /@ResponseStatus  该注解指定错误状态编码(Status code)
 * value=code   为错误类别   eg.400 bad_request
 * reason       错误内容,在错误页面上的message的内容
 */
@ResponseStatus(code = HttpStatus.BAD_REQUEST,reason = "HelloWorld")
public class NoUserException extends LoginException {
    public NoUserException() {
    }

    public NoUserException(String message) {
        super(message);
    }

    public NoUserException(String message, Throwable cause) {
        super(message, cause);
    }
}
